<?php

namespace Action;

class Exception extends \Library\Action\PortalAction {

	private $_exception;
	
	public function __construct( $exception = null ) {
		if( $exception === null ) {
			throw new \Library\Exception( 'Unknown exception' );
		}
		$this->_exception = $exception;
	}
	
	public function getException() {
		return $this->_exception;
	}
}
